<template>
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-8">
                <div class="card card-default">
                    <div class="card-header">Example Component</div>

                    <div class="card-body">
                        I'm an example component.
                    </div>
                    <div>{{ msg }}</div>
                </div>
            </div>
        </div>
    </div>
</template>


<script>
    export default {
        data:function(){
            return {
                msg:"home",
                page:1,
            }
        },
        mounted:function(){
            console.log('home')
            this.getRecords();
        },
        methods:{
            getRecords:function(){
                console.log(this.page);
            }
        }
    }
</script>